package com.wanyangproject.androidlearning.designMode.adapter;

public class PlugGroupAdapter implements ThreePinPlug {

    private TwoPinPlug twoPlugPrint;

    public PlugGroupAdapter(TwoPinPlug twoPlugPrint) {
        this.twoPlugPrint = twoPlugPrint;
    }

    @Override
    public void printThreeHint() {
        twoPlugPrint.printTwoHint();
        System.out.println("三角插头。。。");
    }


}
